/**************************************************************************/
/*                                                                        */
/*                              WWIV Version 5.0x                         */
/*						 Copyright (C)2012, Jason Whelan		          */
/*                                                                        */
/*    Licensed  under the  Apache License, Version  2.0 (the "License");  */
/*    you may not use this  file  except in compliance with the License.  */
/*    You may obtain a copy of the License at                             */
/*                                                                        */
/*                http://www.apache.org/licenses/LICENSE-2.0              */
/*                                                                        */
/*    Unless  required  by  applicable  law  or agreed to  in  writing,   */
/*    software  distributed  under  the  License  is  distributed on an   */
/*    "AS IS"  BASIS, WITHOUT  WARRANTIES  OR  CONDITIONS OF ANY  KIND,   */
/*    either  express  or implied.  See  the  License for  the specific   */
/*    language governing permissions and limitations under the License.   */
/*                                                                        */
/**************************************************************************/

#if !defined(GETSTREX_H)
#define GETSTR_H

int getstrex(char *str, char mask);
int wgetstrex(WINDOW *win, char *str, char mask);
int mvgetstrex(int y, int x, char *str, char mask);
int mvwgetstrex(WINDOW *win, int y, int x, char *str, char mask);
int getnstrex(char *str, int n, char mask);
int wgetnstrex(WINDOW *win, char *str, int n, char mask);
int mvgetnstrex(int y, int x, char *str, int n, char mask);
int mvwgetnstrex(WINDOW *win, int y, int x, char *str, int n, char mask);

#ifdef PDC_WIDE
int get_wstrex(wint_t *wstr, char mask);
int wget_wstrex(WINDOW *win, wint_t *wstr, char mask);
int mvget_wstrex(int y, int x, wint_t *wstr, char mask);
int mvwget_wstrex(WINDOW *win, int, int, wint_t *wstr, char mask);
int getn_wstrex(wint_t *wstr, int n, char mask);
int wgetn_wstrex(WINDOW *win, wint_t *wstr, int n, char mask);
int mvgetn_wstrex(int y, int x, wint_t *wstr, int n, char mask);
int mvwgetn_wstrex(WINDOW *win, int y, int x, wint_t *wstr, int n, char mask);
#endif

#endif